home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
program
/
nwlib15.zip
/
WARNING.!!!
< prev
Wrap
Text File
|
1996-06-08
|
2KB
|
43 lines
WARNING!!!
1.5x:
NWChangePassword() adds a new parameter. Make sure you check out
the help information on this function before attempting to convert
your projects.
1.4x:
This information is directed to anyone upgrading from a version
prior to version 1.40. If are using NWLib for the first time,
you can ignore the following information.
MOST IMPORTANT: ALL NWLib bindery and environment gathering
functions now require the desired Server Connection Handle
as the first parameter. In older versions, these API calls
were defaulted to the current server connection handle.
This meant if you actually wanted to receive the object ID
of another user on a different server than your current
server, you needed to make that server the default before
making the call. Since some of the new bindery/environmental
calls required these base functions, we needed to include
this parameter for those working under a multi-server
network.
In NWLib 1.4 and above, you can pass 0 (zero) as the server
connection handle, and NWLib will assume you mean the
'default' or current server connection handle. This means
you can simply drop the new version in, and build all of
your projects files. As the compiler stops on a line
that used to properly compile with a warning such as
'invalid type,' simply place a 0 (zero) as the first
parameter of the call if you want the current server, or
pass the desired server connection handle and the function
will use that connection handle instead.
Example: WhoAmI used to require no parameters. In this
release and up, WhoAmI(0) is the equivilent. You can
also do: WhoAmI(some_server_conn_handle) to obtain
your User ID on a different server. See also getObjName,
getObjType, getObjectID, etc. All examples included in
the DEMO project.